import { configureStore } from "@reduxjs/toolkit";
import countReducer from './modules/countStore'
import channelReducer from './modules/channelStore'

//使用configureStore创建根仓库对象
const store=configureStore({
  reducer:{
    //属性名自定义
    counter:countReducer,
    channel:channelReducer
  }
})
export default store